package com.taptech.doufu.bean.novel;

import com.taptech.doufu.bean.base.ResponseBaseBean;

import java.util.List;

/**
 * author zhangyongcun
 * 16/11/14
 */

public class NovelRankItemSortBean extends ResponseBaseBean {


    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * title : 畅销榜
         * defaultIndex : 0
         * list : [{"object_type":39,"type":18,"name":"畅销榜","icon":"http://imgold2.doufu.la/doufu/albums/US/Uw/6BnkbKfD5ELgypra90naDyUdI8kwDPBdgBSX-z1tJApiknJl5FfzwdAa7Euf.png","url":"http://api.doufu.la/index.php/albums/items?id=1375"}]
         */

        private List<ItemBean> list;

        public List<ItemBean> getList() {
            return list;
        }

        public void setList(List<ItemBean> list) {
            this.list = list;
        }

        public static class ItemBean {
            private String title;
            private int defaultIndex;
            /**
             * object_type : 39
             * type : 18
             * name : 畅销榜
             * icon : http://imgold2.doufu.la/doufu/albums/US/Uw/6BnkbKfD5ELgypra90naDyUdI8kwDPBdgBSX-z1tJApiknJl5FfzwdAa7Euf.png
             * url : http://api.doufu.la/index.php/albums/items?id=1375
             */

            private List<SortBean> list;

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public int getDefaultIndex() {
                return defaultIndex;
            }

            public void setDefaultIndex(int defaultIndex) {
                this.defaultIndex = defaultIndex;
            }

            public List<SortBean> getList() {
                return list;
            }

            public void setList(List<SortBean> list) {
                this.list = list;
            }

            public class BannerBean{
                private int banner_id;
                private String banner_img;
                private String banner_link;
                private String banner_type;
                public int getBanner_id() {
                    return banner_id;
                }
                public String getBanner_img() {
                    return banner_img;
                }
                public String getBanner_link() {
                    return banner_link;
                }
                public String getBanner_type() {
                    return banner_type;
                }
            }

            public static class SortBean {
                private int object_type;
                private int type;
                private String name;
                private String icon;
                private String url;
                private BannerBean links;

                public BannerBean getLinks() {
                    return links;
                }

                public int getObject_type() {
                    return object_type;
                }

                public void setObject_type(int object_type) {
                    this.object_type = object_type;
                }

                public int getType() {
                    return type;
                }

                public void setType(int type) {
                    this.type = type;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getIcon() {
                    return icon;
                }

                public void setIcon(String icon) {
                    this.icon = icon;
                }

                public String getUrl() {
                    return url;
                }

                public void setUrl(String url) {
                    this.url = url;
                }
            }
        }
    }
}
